package com.cdtu.store.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtu.store.common.entity.UserEntity;

public interface UserService extends IService<UserEntity> {

    Boolean checkData(String data, Integer type);

    Boolean sendVerifyCode(String phone);

    Boolean register(UserEntity user, String code);

    UserEntity queryUser(String username, String password);
}
